#ifndef RACEPROCESSOR_H
#define RACEPROCESSOR_H

#include <QString>
#include "race.h"
#include <vector>

class RaceProcessor {
public:
	
	class Exception : public std::exception{
	private:
		const char* m_msg;
	public:
		Exception(const char* msg) : m_msg(msg) {}
		virtual const char* what() const throw() {return m_msg;}
		}; //class Exception
	
	RaceProcessor(const QString& filename);
	~RaceProcessor();
	
private:
	std::vector<Race*> m_races;
		
}; //class RaceProcessor

#endif
